<template>
<div>
    <SelectUser id="1" :extensionObj="user1" @transferUser="setUserCallback1"></SelectUser>
    <SelectUser id="2" :extensionObj="user2"></SelectUser>
    <button @click="test">测试按钮</button>
</div>
</template>
<script>
export default {
    data(){
     return {  
         user1:{
             userName:"李四",
             labeName:"单位负责人"
         },
          user2:{
             userName:"张三",
             labeName:"风管领导"
         }
        }
    },
     methods:{
    setUserCallback1:function(value){
    this.user1.userName=value;
    },
     setUserCallback2:function(value){
    this.user2.userName=value;
    },
    test:function()
    {
    }
  }
}
</script>